package com.springboot.astra.bean;

public class Goodstag {
    private Integer goodsTagId;
    private Integer goodsId;
    private Integer tagId;
    private Tag tag;

    public Goodstag() {
    }

    public Goodstag(Integer goodsTagId, Integer goodsId, Integer tagId) {
        this.goodsTagId = goodsTagId;
        this.goodsId = goodsId;
        this.tagId = tagId;
    }

    public Goodstag(Integer goodsTagId, Integer goodsId, Integer tagId, Tag tag) {
        this.goodsTagId = goodsTagId;
        this.goodsId = goodsId;
        this.tagId = tagId;
        this.tag = tag;
    }

    public Tag getTag() {
        return tag;
    }

    public void setTag(Tag tag) {
        this.tag = tag;
    }

    public Integer getGoodsTagId() {
        return goodsTagId;
    }

    public void setGoodsTagId(Integer goodsTagId) {
        this.goodsTagId = goodsTagId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getTagId() {
        return tagId;
    }

    public void setTagId(Integer tagId) {
        this.tagId = tagId;
    }
}
